<html>
<head></head>
<body>
<?php
// If 
$d = date("D");
if ($d == "Fri") echo "Have a nice weekend";
// Si il est vendredi il va afficher le text
echo "<br>";
// If ... else
$d = date("D");
if ($d == "Fri") 
	echo "Have a nice weekend";
else
	echo "Have a nice day";
	echo "</br>";
// If ... else ... elseif
if ($d == "Fri") 
	echo "Have a nice weekend";
elseif ($d = "Sun")
	echo "Have a nice day";
else
	echo "</br>";

 	
	
?>	

</body>
</html>